import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

const app = createApp(App)

const {ipcRenderer} = require('electron')

await ipcRenderer.on('CONFIG',async(event,config) =>{
    console.log(config,'config');
    app.provide('yamlConfig',config)
    app.use(router)
    app.mount('#app') 
})

